<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>简历管理</title>
    <link rel="stylesheet" type="text/css" href="/resource/css/font-awesome.css"/>
    <link rel="stylesheet" type="text/css" href="/resource/css/easyui.css">
    <link rel="stylesheet" type="text/css" href="/resource/css/icon.css">
    <link rel="stylesheet" type="text/css" href="/resource/css/custom.css">
    <link rel="stylesheet" type="text/css" href="/resource/js/datepicker/datepicker.css"/>
    <script type="text/javascript" src="/resource/js/core/jquery.js"></script>
    <script type="text/javascript" src="/resource/js/core/jquery.easyui.153.js"></script>
    <script type="text/javascript" src="/resource/js/core/jquery.ui.core.js"></script>
    <script type="text/javascript" src="/resource/js/core/jquery.ui.effect.js"></script>
    <script type="text/javascript" src="/resource/js/core/common.js"></script>
    <script type="text/javascript" src="/resource/js/core/toolkit.js"></script>
    <script type="text/javascript" src="/resource/js/core/validate.js"></script>
    <script type="text/javascript" src="/resource/js/datepicker/datepicker.js"></script>
    <script type="text/javascript" src="/resource/js/work/employee.js"></script>
</head>
<body>
<div id="employee_search" class="div_search">
    <div class="line">
        <label>邀约状态</label>
        <select id="employee_search_inviteStatus" class="easyui-combobox" data-options="required:true,editable:false,width:150">
            <option value="">不限</option>
            <option value="未接听">未接听</option>
            <option value="待答复">待答复</option>
            <option value="已约面">已约面</option>
            <option value="拒绝邀约">拒绝邀约</option>
        </select>
    </div>
    <div class="line">
        <label>面试进度</label>
        <select id="employee_search_interviewStatus" class="easyui-combobox" data-options="required:true,editable:false,width:150">
            <option value="">不限</option>
            <option value="未参加面试">未参加面试</option>
            <option value="初试通过">初试通过</option>
            <option value="复试通过">复试通过</option>
            <option value="淘汰">淘汰</option>
            <option value="储备">储备</option>
            <option value="已入职">已入职</option>
            <option value="已离职">已离职</option>
            <option value="录用">录用</option>
        </select>
    </div>
    <div class="line">
        <label>处理状态</label>
        <select id="employee_search_dealStatus" class="easyui-combobox" data-options="required:true,editable:false,width:150">
            <option value="">不限</option>
            <option value="doing">进行中</option>
            <option value="done">已完成</option>
        </select>
    </div>
    <div style="clear: both; margin-bottom: 10px"></div>
    <div class="line">
        <label>一级部门</label>
        <input id="employee_search_dep1" class="easyui-combobox" data-options="limitToList:true,panelMaxHeight:300,width:120"/>
    </div>
    <div class="line">
        <label>二级部门</label>
        <input id="employee_search_dep2" class="easyui-combobox" data-options="limitToList:true,width:120"/>
    </div>
    <div class="line">
        <label>入职时间</label>
        <input id="employee_search_entryDate0" class="textbox" readonly="readonly" style="width: 140px; padding: 0 4px;"/>
        <input id="employee_search_entryDate1" class="textbox" readonly="readonly" style="width: 140px; padding: 0 4px;"/>
    </div>
    <div style="clear: both; margin-bottom: 10px"></div>
    <div class="line">
        <label>搜索</label>
        <input id="employee_search_key" class="easyui-textbox" data-options="prompt:'候选人/联系方式/邮箱/职位/备注',width:300"/>
    </div>
    <div>
        <a class="easyui-linkbutton" data-options="iconCls:'icon-search'" onclick="jsEmployee.getPage(1);">搜 索</a>
    </div>
</div>

<table id="employee_table"
       data-options="border:false, striped:true, fit:true, fitColumns:true, loadMsg:'正在加载...',
		singleSelect:true, pagination:true, pagePosition:'top', sortName:'addTime', sortOrder:'desc'">
    <thead>
    <tr>
        <th data-options="field:'itemId', hidden:true">itemId</th>
        <th data-options="field:'p0', halign:'center', align:'right'">序号</th>
        <th data-options="field:'p1', halign:'center'">候选人</th>
        <th data-options="field:'p2', halign:'center'">职位</th>
        <th data-options="field:'p3', halign:'center'">联系方式</th>
        <th data-options="field:'p4', halign:'center'">备注</th>
        <th data-options="field:'p5', align:'center'">邀约状态</th>
        <th data-options="field:'p6', align:'center'">面试进度</th>
        <th data-options="field:'p7', align:'center'">处理状态</th>
        <th data-options="field:'dateEntry', align:'center', sortable:true">入职时间</th>
        <th data-options="field:'dateCreate', align:'center', sortable:true">创建时间</th>
        <th data-options="field:'p8', align:'center'">更多操作</th>
    </tr>
    </thead>
</table>

<div id="employee_div_op">
    <div data-options="iconCls:'icon-check'" onclick="jsEmployee.changeInviteStatus();">变更邀约进度</div>
    <div data-options="iconCls:'icon-check'" onclick="jsEmployee.changeInterviewStatus();">变更面试进度</div>
    <div data-options="iconCls:'icon-check'" onclick="jsEmployee.showAddFollow();">添加跟进记录</div>
    <div data-options="iconCls:'icon-upload'" onclick="jsEmployee.changeFile();">更新简历</div>
</div>

<div id="employee_div_inviteStatus" class="easyui-window" title="变更邀约进度" style="height:200px; width: 350px;padding:7px;"
     data-options="modal:true,collapsible:false,minimizable:false,maximizable:false,resizable:false,constrain:true,closed:false,closed:true">
    <div class="easyui-layout" data-options="fit:true,border:false">
        <div class="div_window_content" data-options="region:'center',border:false">
            <div class="line">
                <label class="large">邀约进度</label>
                <select id="employee_ipt_inviteStatus" class="easyui-combobox" data-options="required:true,editable:false,width:150">
                    <option value="未接听">未接听</option>
                    <option value="待答复">待答复</option>
                    <option value="已约面">已约面</option>
                    <option value="拒绝邀约">拒绝邀约</option>
                </select>
            </div>
            <div class="line" style="display: none">
                <label class="large">约面时间</label>
                <input id="employee_ipt_interviewTime" class="textbox" readonly="readonly" style="width: 140px; padding: 0 4px;"/>
            </div>
            <div class="line" style="display: none">
                <label class="large">面试方式</label>
                <select id="employee_ipt_interviewType" class="easyui-combobox" data-options="required:true,editable:false,width:150">
                    <option value="北2楼">F2F</option>
                    <option value="视频面试">视频面试</option>
                    <option value="电话面试">电话面试</option>
                </select>
            </div>
        </div>
        <div class="div_window_foot" data-options="region:'south',border:false">
            <a class="easyui-linkbutton" data-options="iconCls:'icon-ok'" onclick="jsEmployee.updateInviteStatus($(this));" style="width:80px">确 定</a>
        </div>
    </div>
</div>

<div id="employee_div_interviewStatus" class="easyui-window" title="变更面试进度" style="height:200px; width: 350px;padding:7px;"
     data-options="modal:true,collapsible:false,minimizable:false,maximizable:false,resizable:false,constrain:true,closed:false,closed:true">
    <div class="easyui-layout" data-options="fit:true,border:false">
        <div class="div_window_content" data-options="region:'center',border:false">
            <div class="line">
                <label class="large">面试进度</label>
                <select id="employee_ipt_interviewStatus" class="easyui-combobox" data-options="required:true,editable:false,width:150">
                    <option value="未参加面试">未参加面试</option>
                    <option value="初试通过">初试通过</option>
                    <option value="复试通过">复试通过</option>
                    <option value="淘汰">淘汰</option>
                    <option value="储备">储备</option>
                    <option value="已入职">已入职</option>
                    <option value="已离职">已离职</option>
                    <option value="录用">录用</option>
                </select>
            </div>
            <div class="line" style="display: none">
                <label class="large">面试官</label>
                <input id="employee_ipt_interviewer" class="easyui-combobox" data-options="limitToList:true,editable:false,width:150"/>
            </div>
        </div>
        <div class="div_window_foot" data-options="region:'south',border:false">
            <a class="easyui-linkbutton" data-options="iconCls:'icon-ok'" onclick="jsEmployee.updateInterviewStatus($(this));" style="width:80px">确 定</a>
        </div>
    </div>
</div>

<div id="employee_div_follow" class="easyui-window" title="添加跟进记录" style="height:200px; width: 350px;padding:7px;"
     data-options="modal:true,collapsible:false,minimizable:false,maximizable:false,resizable:false,constrain:true,closed:false,closed:true">
    <div class="easyui-layout" data-options="fit:true,border:false">
        <div class="div_window_content" data-options="region:'center',border:false">
            <div class="line" style="display: none">
                <label class="large">跟进内容</label>
                <input id="employee_ipt_follow" class="easyui-textbox" data-options="validType:'length[0,500]',invalidMessage:'不超过500个字符',multiple:true,width:250,height:60"/>
            </div>
            <div class="line" style="display: none">
                <label class="large">下次跟进</label>
                <input id="employee_ipt_followTime" class="textbox" readonly="readonly" style="width: 140px; padding: 0 4px;"/>
            </div>
        </div>
        <div class="div_window_foot" data-options="region:'south',border:false">
            <a class="easyui-linkbutton" data-options="iconCls:'icon-ok'" onclick="jsEmployee.addFollow($(this));" style="width:80px">确 定</a>
        </div>
    </div>
</div>

<div id="employee_div_file" class="easyui-window" title="更新简历文件" style="height:200px; width: 350px;padding:7px;"
     data-options="modal:true,collapsible:false,minimizable:false,maximizable:false,resizable:false,constrain:true,closed:false,closed:true">
    <div class="easyui-layout" data-options="fit:true,border:false">
        <div class="div_window_content" data-options="region:'center',border:false">
            <div class="line" style="display: none">
                <label class="large">简历文件</label>
                <input id="employee_ipt_file" class="easyui-filebox" name="employee_upload" data-id="filebox_file_id_2" data-options="prompt:'选择需要上传的文件...',width:300">
            </div>
        </div>
        <div class="div_window_foot" data-options="region:'south',border:false">
            <a class="easyui-linkbutton" data-options="iconCls:'icon-ok'" onclick="jsEmployee.updateFile($(this));" style="width:80px">确 定</a>
        </div>
    </div>
</div>
<script type="text/javascript">
    var jsEmployee = new JS_EMPLOYEE();
    jsEmployee.init();
</script>

</body>
</html>



